<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The AMQPEnvelope class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="amqpqueue.unbind.html">AMQPQueue::unbind</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="amqpenvelope.getappid.html">AMQPEnvelope::getAppId</a></div>
 <div class="up"><a href="book.amqp.html">AMQP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.amqpenvelope" class="reference">

 <h1 class="title">The AMQPEnvelope class</h1>
 

 <div class="partintro"><p class="verinfo">(No version information available, might only be in Git)</p> 


  <div class="section" id="amqpenvelope.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Contains a message and all of its attributes.
   </p>
  </div>


  <div class="section" id="amqpenvelope.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">AMQPEnvelope</strong>
     </span>
     {</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getappid.html" class="methodname">getAppId</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getbody.html" class="methodname">getBody</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getcontentencoding.html" class="methodname">getContentEncoding</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getcontenttype.html" class="methodname">getContentType</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getcorrelationid.html" class="methodname">getCorrelationId</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getdeliverytag.html" class="methodname">getDeliveryTag</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getexchange.html" class="methodname">getExchange</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getexpiration.html" class="methodname">getExpiration</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getheader.html" class="methodname">getHeader</a></span>
     ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$header_key</code></span>    
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">array</span><span class="methodname"><a href="amqpenvelope.getheaders.html" class="methodname">getHeaders</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getmessageid.html" class="methodname">getMessageId</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getpriority.html" class="methodname">getPriority</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getreplyto.html" class="methodname">getReplyTo</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getroutingkey.html" class="methodname">getRoutingKey</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.gettimestamp.html" class="methodname">getTimeStamp</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.gettype.html" class="methodname">getType</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">string</span><span class="methodname"><a href="amqpenvelope.getuserid.html" class="methodname">getUserId</a></span>
     ( <span class="methodparam">void</span>
    )</div>
<div class="methodsynopsis dc-description">
    <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="amqpenvelope.isredelivery.html" class="methodname">isRedelivery</a></span>
     ( <span class="methodparam">void</span>
    )</div>

   }</div>


  </div>

 </div>

 
 






 







 





 






 






 






 






 






 






 






 






 






 






 






 






 






 






 







<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="amqpenvelope.getappid.html">AMQPEnvelope::getAppId</a> — Get the message appid</li><li><a href="amqpenvelope.getbody.html">AMQPEnvelope::getBody</a> — Get the message body</li><li><a href="amqpenvelope.getcontentencoding.html">AMQPEnvelope::getContentEncoding</a> — Get the message contentencoding</li><li><a href="amqpenvelope.getcontenttype.html">AMQPEnvelope::getContentType</a> — Get the message contenttype</li><li><a href="amqpenvelope.getcorrelationid.html">AMQPEnvelope::getCorrelationId</a> — Get the message correlation id</li><li><a href="amqpenvelope.getdeliverytag.html">AMQPEnvelope::getDeliveryTag</a> — Get the message delivery tag</li><li><a href="amqpenvelope.getexchange.html">AMQPEnvelope::getExchange</a> — Get the message exchange</li><li><a href="amqpenvelope.getexpiration.html">AMQPEnvelope::getExpiration</a> — Get the message expiration</li><li><a href="amqpenvelope.getheader.html">AMQPEnvelope::getHeader</a> — Get a specific message header</li><li><a href="amqpenvelope.getheaders.html">AMQPEnvelope::getHeaders</a> — Get the message headers</li><li><a href="amqpenvelope.getmessageid.html">AMQPEnvelope::getMessageId</a> — Get the message id</li><li><a href="amqpenvelope.getpriority.html">AMQPEnvelope::getPriority</a> — Get the message priority</li><li><a href="amqpenvelope.getreplyto.html">AMQPEnvelope::getReplyTo</a> — Get the message replyto</li><li><a href="amqpenvelope.getroutingkey.html">AMQPEnvelope::getRoutingKey</a> — Get the message routing key</li><li><a href="amqpenvelope.gettimestamp.html">AMQPEnvelope::getTimeStamp</a> — Get the message timestamp</li><li><a href="amqpenvelope.gettype.html">AMQPEnvelope::getType</a> — Get the message type</li><li><a href="amqpenvelope.getuserid.html">AMQPEnvelope::getUserId</a> — Get the message user id</li><li><a href="amqpenvelope.isredelivery.html">AMQPEnvelope::isRedelivery</a> — Whether this is a redelivery of the message</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="amqpqueue.unbind.html">AMQPQueue::unbind</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="amqpenvelope.getappid.html">AMQPEnvelope::getAppId</a></div>
 <div class="up"><a href="book.amqp.html">AMQP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
